package com.qijian.production.domain.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.maindata.domain.InspectionItemDetail;
import com.qijian.maindata.domain.vo.InspectionItemDetailVo;
import com.qijian.production.domain.ScWorkOrderDetail;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * 生产计划单工序对象
 *
 * @author zhangcheng
 * @date 2025-03-25
 */

@Data
@ToString
public class ScWorkOrderDetailVo extends ScWorkOrderDetail {

    private List<ScWorkOrderDetail> workOrderDetailList;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long itemId;

    private String itemName;

    private String itemCode;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long detailId;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long lineId;

    private BigDecimal completionRate;

    private List<InspectionItemDetailVo> inspectionItemDetailList;

}
